import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import './plugins/element.js'
import './utils/flexible.js'
import './styles/index.scss'
import axios from 'axios'
import * as echarts from 'echarts'
import zhejiang from '../src/utils/zhejiang.json'// 将自动注册所有组件为全局组件
import dataV from '@jiaminghi/data-view'

Vue.use(dataV)

Vue.config.productionTip = false
Vue.prototype.$axios = axios
Vue.prototype.$echarts = echarts
echarts.registerMap('浙江', zhejiang)
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
